package com.cyf.merchat.network.bean;

import com.cyf.db.bean.FeeGroup;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 响应详细信息：商户登录前获取车场列表
 * Created by cage on 2017/3/29.
 */
@Api
@Data
public class MerchantLoginItem {
    /**
     * 线下优惠券
     */
    public static final int OFFLINE_COUPONS = 1;

    /**
     * 线上优惠券
     */
    public static final int ONLINE_COUPONS = 2;

    @ApiModelProperty("车场id")
    private int parkingId;
    @ApiModelProperty("车场名称")
    private String parkingName;
    @ApiModelProperty("商户id")
    private int merchantId;
    @ApiModelProperty("本地商户id")
    private int localMerchantId;
    @ApiModelProperty("剩余总优惠时间")
    private int remainAllHours;
    @ApiModelProperty("剩余总优惠金额")
    private int balance;
    @ApiModelProperty("优惠券类型 1是免费时间 2是免金额 3切换计费规则 4折扣")
    private Integer merchantType = 1;
    @ApiModelProperty(value = "商户计费类型：0线下，1线上")
    private int merchantFeegroupType;

    @ApiModelProperty("计费规则")
    private List<FeeGroup> feeGroupList;

    @ApiModelProperty("免费小时 单位秒")
    private int freeHours;
    @ApiModelProperty("免费金额 单位分")
    private int freeAmount;

    @ApiModelProperty("计费规则Id,wechatqrcode中使用")
    private int feeGroupId;
    @ApiModelProperty("商户名称")
    private String stallName;
}
